<template>
  <div>
    <van-nav-bar title="绑定手机号">
      <van-icon name="cross" slot="left" @click="backOne()" />
      <van-icon name="ellipsis" slot="right" />
    </van-nav-bar>
    <div class="mar">
      <div class="phone">
        <p>手机号码</p>
        <van-cell-group>
          <van-field placeholder="请输入手机号" class="tel" />
        </van-cell-group>
      </div>
      <div class="code">
        <p>验证码</p>
        <div class="flex">
          <van-cell-group>
            <van-field placeholder="请输入验证码" />
          </van-cell-group>
          <van-button type="info" class="send">请输入验证码</van-button>
        </div>
      </div>
      <van-button type="info" class="info">确定</van-button>
    </div>
  </div>
</template>
<script>
export default {
  name: "yanzheng",
  data() {
    return {};
  },
  methods: {}
};
</script>
<style  scoped>
.van-nav-bar {
  text-align: left;
  background: rgba(242, 242, 242, 1);
}
.van-nav-bar__left .van-nav-bar__text {
  color: black;
  font-size: 3rem;
}
.van-nav-bar__title {
  max-width: 70%;
}
.van-icon,
.van-icon::before {
  font-size: 20px;
  color: black;
}
.van-icon-arrow:before {
  font-size: 1.5rem;
  color: rgba(210, 210, 210, 1);
}

.mar {
  margin-left: 34px;
  margin-right: 34px;
}
.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.phone {
  margin-top: 35px;
}
.van-field {
  height: 44px;
  background: rgba(246, 248, 250, 1);
  border-radius: 5px;
}
.code {
  margin-top: 30px;
}
.send {
  font-size: 12px;
  font-family: PingFang SC;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
  border-radius: 5px;
}
.info {
  margin-top: 59px;
  width: 100%;
  height: 44px;
  background: linear-gradient(
    186deg,
    rgba(14, 29, 254, 1),
    rgba(43, 66, 255, 1)
  );
  border-radius: 5px;
  font-size: 18px;
  font-family: PingFang SC;
  font-weight: 400;
  color: rgba(255, 255, 255, 1);
}
</style>
